package com.easyj.admin.index.controller;

import javax.servlet.ServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value = "/")
public class IndexController {

	@RequestMapping(method = RequestMethod.GET)
	public String  home(Model model,ServletRequest request) {
		return "redirect:/index.html";
	}
	
	@RequestMapping(value="index" , method = RequestMethod.GET)
	public String index(Model model,ServletRequest request) {
		return "redirect:/index.html";
	}
	
	
}
